package cn.bopomo.dealer.base.vo;

import java.io.Serializable;
import java.util.Date;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class AuthorizeList implements Serializable {

    /** identifier field */
    private Integer aid;

    /** persistent field */
    private String authorizeName;

    /** persistent field */
    private String authorizeAction;

    /** persistent field */
    private String authorizeTag;

    /** persistent field */
    private int addUid;

    /** nullable persistent field */
    private Date addDate;

    /** nullable persistent field */
    private Integer modifyUid;

    /** nullable persistent field */
    private Date modifyDate;

    /** persistent field */
    private cn.bopomo.dealer.base.vo.ModuleList moduleList;

    /** full constructor */
    public AuthorizeList(String authorizeName, String authorizeAction, String authorizeTag, int addUid, Date addDate, Integer modifyUid, Date modifyDate, cn.bopomo.dealer.base.vo.ModuleList moduleList) {
        this.authorizeName = authorizeName;
        this.authorizeAction = authorizeAction;
        this.authorizeTag = authorizeTag;
        this.addUid = addUid;
        this.addDate = addDate;
        this.modifyUid = modifyUid;
        this.modifyDate = modifyDate;
        this.moduleList = moduleList;
    }

    /** default constructor */
    public AuthorizeList() {
    }

    /** minimal constructor */
    public AuthorizeList(String authorizeName, String authorizeAction, String authorizeTag, int addUid, cn.bopomo.dealer.base.vo.ModuleList moduleList) {
        this.authorizeName = authorizeName;
        this.authorizeAction = authorizeAction;
        this.authorizeTag = authorizeTag;
        this.addUid = addUid;
        this.moduleList = moduleList;
    }

    /** 
     * 		       auto_increment
     * 		    
     */
    public Integer getAid() {
        return this.aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getAuthorizeName() {
        return this.authorizeName;
    }

    public void setAuthorizeName(String authorizeName) {
        this.authorizeName = authorizeName;
    }

    public String getAuthorizeAction() {
        return this.authorizeAction;
    }

    public void setAuthorizeAction(String authorizeAction) {
        this.authorizeAction = authorizeAction;
    }

    public String getAuthorizeTag() {
        return this.authorizeTag;
    }

    public void setAuthorizeTag(String authorizeTag) {
        this.authorizeTag = authorizeTag;
    }

    public int getAddUid() {
        return this.addUid;
    }

    public void setAddUid(int addUid) {
        this.addUid = addUid;
    }

    public Date getAddDate() {
        return this.addDate;
    }

    public void setAddDate(Date addDate) {
        this.addDate = addDate;
    }

    public Integer getModifyUid() {
        return this.modifyUid;
    }

    public void setModifyUid(Integer modifyUid) {
        this.modifyUid = modifyUid;
    }

    public Date getModifyDate() {
        return this.modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public cn.bopomo.dealer.base.vo.ModuleList getModuleList() {
        return this.moduleList;
    }

    public void setModuleList(cn.bopomo.dealer.base.vo.ModuleList moduleList) {
        this.moduleList = moduleList;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("aid", getAid())
            .toString();
    }

}
